
tcp_client_cycle.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
   0:	a9b57bfd 	stp	x29, x30, [sp, #-176]!
   4:	910003fd 	mov	x29, sp
   8:	b9001fa0 	str	w0, [x29, #28]
   c:	f9000ba1 	str	x1, [x29, #16]
  10:	f9400ba0 	ldr	x0, [x29, #16]
  14:	91004000 	add	x0, x0, #0x10
  18:	f9400000 	ldr	x0, [x0]
  1c:	f100001f 	cmp	x0, #0x0
  20:	540000e0 	b.eq	3c <main+0x3c>  // b.none
  24:	f9400ba0 	ldr	x0, [x29, #16]
  28:	91004000 	add	x0, x0, #0x10
  2c:	f9400000 	ldr	x0, [x0]
  30:	94000000 	bl	0 <atoi>
  34:	b900afa0 	str	w0, [x29, #172]
  38:	14000003 	b	44 <main+0x44>
  3c:	5283d3c0 	mov	w0, #0x1e9e                	// #7838
  40:	b900afa0 	str	w0, [x29, #172]
  44:	b9401fa0 	ldr	w0, [x29, #28]
  48:	71000c1f 	cmp	w0, #0x3
  4c:	540001c0 	b.eq	84 <main+0x84>  // b.none
  50:	90000000 	adrp	x0, 0 <stderr>
  54:	91000000 	add	x0, x0, #0x0
  58:	f9400003 	ldr	x3, [x0]
  5c:	f9400ba0 	ldr	x0, [x29, #16]
  60:	f9400001 	ldr	x1, [x0]
  64:	90000000 	adrp	x0, 0 <main>
  68:	91000000 	add	x0, x0, #0x0
  6c:	aa0103e2 	mov	x2, x1
  70:	aa0003e1 	mov	x1, x0
  74:	aa0303e0 	mov	x0, x3
  78:	94000000 	bl	0 <fprintf>
  7c:	52800020 	mov	w0, #0x1                   	// #1
  80:	94000000 	bl	0 <exit>
  84:	f9400ba0 	ldr	x0, [x29, #16]
  88:	91002000 	add	x0, x0, #0x8
  8c:	f9400000 	ldr	x0, [x0]
  90:	94000000 	bl	0 <gethostbyname>
  94:	f90053a0 	str	x0, [x29, #160]
  98:	f94053a0 	ldr	x0, [x29, #160]
  9c:	f100001f 	cmp	x0, #0x0
  a0:	540000c1 	b.ne	b8 <main+0xb8>  // b.any
  a4:	90000000 	adrp	x0, 0 <main>
  a8:	91000000 	add	x0, x0, #0x0
  ac:	94000000 	bl	0 <herror>
  b0:	52800020 	mov	w0, #0x1                   	// #1
  b4:	94000000 	bl	0 <exit>
  b8:	52800002 	mov	w2, #0x0                   	// #0
  bc:	52800021 	mov	w1, #0x1                   	// #1
  c0:	52800040 	mov	w0, #0x2                   	// #2
  c4:	94000000 	bl	0 <socket>
  c8:	b9009fa0 	str	w0, [x29, #156]
  cc:	b9409fa0 	ldr	w0, [x29, #156]
  d0:	3100041f 	cmn	w0, #0x1
  d4:	540000c1 	b.ne	ec <main+0xec>  // b.any
  d8:	90000000 	adrp	x0, 0 <main>
  dc:	91000000 	add	x0, x0, #0x0
  e0:	94000000 	bl	0 <perror>
  e4:	52800020 	mov	w0, #0x1                   	// #1
  e8:	94000000 	bl	0 <exit>
  ec:	52800040 	mov	w0, #0x2                   	// #2
  f0:	790043a0 	strh	w0, [x29, #32]
  f4:	b940afa0 	ldr	w0, [x29, #172]
  f8:	12003c00 	and	w0, w0, #0xffff
  fc:	94000000 	bl	0 <htons>
 100:	12003c00 	and	w0, w0, #0xffff
 104:	790047a0 	strh	w0, [x29, #34]
 108:	f94053a0 	ldr	x0, [x29, #160]
 10c:	f9400c00 	ldr	x0, [x0, #24]
 110:	f9400000 	ldr	x0, [x0]
 114:	b9400000 	ldr	w0, [x0]
 118:	b90027a0 	str	w0, [x29, #36]
 11c:	910083a0 	add	x0, x29, #0x20
 120:	52800202 	mov	w2, #0x10                  	// #16
 124:	aa0003e1 	mov	x1, x0
 128:	b9409fa0 	ldr	w0, [x29, #156]
 12c:	94000000 	bl	0 <connect>
 130:	3100041f 	cmn	w0, #0x1
 134:	540000c1 	b.ne	14c <main+0x14c>  // b.any
 138:	90000000 	adrp	x0, 0 <main>
 13c:	91000000 	add	x0, x0, #0x0
 140:	94000000 	bl	0 <perror>
 144:	52800020 	mov	w0, #0x1                   	// #1
 148:	94000000 	bl	0 <exit>
 14c:	9100c3a0 	add	x0, x29, #0x30
 150:	52800003 	mov	w3, #0x0                   	// #0
 154:	d2800c82 	mov	x2, #0x64                  	// #100
 158:	aa0003e1 	mov	x1, x0
 15c:	b9409fa0 	ldr	w0, [x29, #156]
 160:	94000000 	bl	0 <recv>
 164:	b9009ba0 	str	w0, [x29, #152]
 168:	b9409ba0 	ldr	w0, [x29, #152]
 16c:	3100041f 	cmn	w0, #0x1
 170:	540000c1 	b.ne	188 <main+0x188>  // b.any
 174:	90000000 	adrp	x0, 0 <main>
 178:	91000000 	add	x0, x0, #0x0
 17c:	94000000 	bl	0 <perror>
 180:	52800020 	mov	w0, #0x1                   	// #1
 184:	94000000 	bl	0 <exit>
 188:	b9809ba0 	ldrsw	x0, [x29, #152]
 18c:	9100c3a1 	add	x1, x29, #0x30
 190:	3820683f 	strb	wzr, [x1, x0]
 194:	9100c3a1 	add	x1, x29, #0x30
 198:	90000000 	adrp	x0, 0 <main>
 19c:	91000000 	add	x0, x0, #0x0
 1a0:	94000000 	bl	0 <printf>
 1a4:	b9409fa0 	ldr	w0, [x29, #156]
 1a8:	94000000 	bl	0 <close>
 1ac:	52800000 	mov	w0, #0x0                   	// #0
 1b0:	a8cb7bfd 	ldp	x29, x30, [sp], #176
 1b4:	d65f03c0 	ret
